Part Number Hot Search : 
FDS6690S 1GMU2 020122MR R5F64179 EAIRMAA2 PG5394 LNK604PG YM536
Product Description
Full Text Search
 

To Download USB2641I-HZH-02-CAG Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  smsc usb2640/usb2641 revision 2.1 (06-29-09) datasheet product features datasheet usb2640/usb2641 ultra fast usb 2.0 multi-format flash media controller/usb hub combo general description the smsc usb2640/usb2641 is a usb 2.0 compliant, hi- speed hub for usb port expansion with an attached mass storage class peripheral contro ller. the controller allows read/write capability to popular flash media from the following families: ? secure digital tm (sd) ? multimediacard tm (mmc) ? xd-picture card tm (xd) 1 ? memory stick ? (ms) the usb2640/usb2641 is a fully integrated, single chip solution providing usb expansion and integrated flash card media reader/writer capability of ultra high performance operation. average sustained transfer rates exceeding 35 mb/s are possible 2 . highlights ? hub controller with internally connected ultra fast flash media reader/writer and 2 exposed downstream ports for external peripheral expansion ? flash media reader/writer employs multiplexed card interfaces which are optimized for use with single card insertion combo sockets ? hardware-controlled data flow architecture for all self- mapped media ? optional support for external firmware access via spi interface ? portmap flexible port mapping and por t disable sequencing supports multiple platform designs ? portswap programmable usb differential -pair pin locations eases pcb design by aligning usb signal traces directly to connectors ? phyboost programmable usb transceiver drive strength recovers signal integrity 1.support and capabilities for xd -picture card are not applica- ble for the usb2641. please obtain a user license from the xd- picture card license office to support this flash media format. 2.host and media dependent. features ? compliant with the following flash media card specifications: sd 2.0 / mmc 4.2 / ms 1.43 / ms-pro 1.02 / ms-pro-hg 1.01 / ms-duo 1.10 / xd 1.2 ? supports a single external 3.3 v supply source; internal regulators provide 1.8 v internal core voltage for additional bill of materials and power savings ? the transaction translator (tt) in the hub supports operation of full-speed and low-speed peripherals ? 9 k ram | 64 k on-chip rom ? enhanced emi rejection and esd protection performance ? onboard 24 mhz crystal driver circuit ? optional external 24 mhz clock input ? up to 9 gpios for special functions ? 8051 8-bit microprocessor ? hub and flash media reader/writer configuration from a single source: external i 2 c rom or external spi rom configures internal c ode using an external i 2 c eeprom supports external code using a spi flash eeprom customizable vendor id, product id, language id ? eeprom update via usb ? 48-pin qfn lead-free, rohs compliant package (7x7 mm) applications ? desktop and mobile pcs ? personal mobile devices ? printers ? gps navigation systems ? media players/viewers ? consumer a/v ? set-top boxes downloaded from: http:///
order numbers: usb2640/usb2641-hzh-xx for 48-pin, qfn lead-free rohs compliant package xx in the order number indicates the internal rom firmware revision level. please contact your smsc representative for more information. 80 arkay drive, hauppauge, ny 11788 (631) 435-6000, fax (631) 273-3123 copyright ? 2009 smsc or its subsidiaries. all rights reserved. circuit diagrams and other information relati ng to smsc products are included as a means of illustrating typical applications. consequently, complete information sufficient for construction purposes is not necessarily given. although the information has been checked and is believ ed to be accurate, no re sponsibility is assumed for inaccuracies. smsc reserves the right to make changes to specifications and product descriptions at any time without notice. c ontact your local sm sc sales office to obtain the latest specifications before placing your product order. the provision of this information does not convey to the purchaser of the described semicond uctor devices any licenses under any patent rights or other intellectual property rights of smsc or others. all sales are expressly conditional on your agreement to the te rms and conditions of the most recently dated version of smsc's standard terms of sale agreement dated before the date of your order (the "terms of sale agreem ent"). the pro duct may contain design defects or errors known as anomalies which may cause the product's functions to deviate from published specifi cations. anomaly sheets are availab le upon request. smsc products are not designed, intended, authorized or warranted for use in any life support or other application where product failure could cause or contribute to personal injury or severe property damage. any and all such uses without prior written approval of an officer of smsc and further t esting and/or modification will be fully at the risk of the customer. copies of this document or other smsc literature, as well as the terms of sale agreement, may be obta ined by visiting smscs website at h ttp://www.smsc.com. smsc is a registered trademark of standard microsystems corporation (smsc). produc t names and company names are th e trademarks of their respective holders. smsc makes the following part-numbered device available for purchase only by customers who are xd-picture card licensees: usb26 40. by purchasing or ordering any of such devices, buyer represents, warrants, and agrees that buyer is a duly licensed licensee un der an xd-picture card tm license agreement with fuji photo film co., ltd., olympus optical co., ltd., and toshiba corporation; and that buyer will maintain in effect such xd-picture card license and will give smscreasonable advance notice of any termination or expiration of such xd-picture card license, but i n no event less than five days advance notice. smsc may discontinue making such devices available for purchase by buyer and/or discont inue further deliveries of such devices if such xd-picture ca rd license shall expire, terminate, or cease to be in force, or if buyer is or becomes in default of such xd-picture card license. smsc disclaims and excludes any and all warranties, including without limitation an y and all implied warranties of merchantabil ity, fitness for a particular purpose, title, and against infringement and the like, and any and all warranties arising from any cou rse of dealing or usage of trade. in no event shall smsc be liabl e for any direct, incidental, indi rect, special, punitive, or cons equential damages; or for lost data, profits, savings or revenues of any kind; regardless of the form of action, whether based on contrac t; tort; negligence of smsc or others; strict liability; breach of warranty; or otherwise; whether or not any remedy of buyer is h eld to have failed of its essential purpose, and whether or no t smsc has been advised of the possibility of such damages. ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 2 smsc usb2640/usb2641 datasheet downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 3 revision 2.1 (06-29-09) datasheet table of contents chapter 1 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.1 device features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.2 oem selectable features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 chapter 2 acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 chapter 3 pin configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 chapter 4 block diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 chapter 5 pin tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 5.1 48-pin tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 chapter 6 pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 8 6.1 usb2640/usb2641 pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 6.2 buffer type descriptio ns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 6.3 port power control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 6.4 rom boot sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 chapter 7 configuration options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 7.1 hub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 7.1.1 hub configuration options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 7.1.2 vbus detect. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 7.2 card reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 7.3 system configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.3.1 eeprom/spi interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.3.2 eeprom data descriptor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.3.3 eeprom data descriptor register descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 7.3.4 a0h-a7h: device power configuratio n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 7.3.5 hub controller configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 7.3.6 i 2 c eeprom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 7.3.7 in-circuit eeprom programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 7.4 default configuration option: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 7.5 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 7.5.1 internal por hardware reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 7.5.2 external hardware nreset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 7.5.3 usb bus reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 chapter 8 pin reset states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 8.1 pin reset states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 chapter 9 ac specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 9.1 oscillator/crystal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 9.2 ceramic resonator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 9.3 external clock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 9.3.1 i 2 c eeprom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 9.3.2 usb 2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 chapter 10 dc parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 8 10.1 maximum guaranteed ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 10.2 operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 4 smsc usb2640/usb2641 datasheet 10.3 dc electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 10.4 capacitance t a = 25c; fc = 1 mhz; vdd33 = 3.3 v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 chapter 11 gpio usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 chapter 12 package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3 downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 5 revision 2.1 (06-29-09) datasheet list of tables table 5.1 usb2640 48-pin table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 table 5.2 usb2641 48-pin table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 table 6.1 usb2640/usb2641 pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 6.2 usb2640/usb2641 buffe r type descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 table 7.1 internal flash media controller configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 9 table 7.2 hub controller configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 7.3 other internal configurations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 7.4 port map register for ports 1 & 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 7.5 port map register for port 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 7.6 nreset timing for eeprom mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 8.1 legend for pin reset states table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 8.2 usb2640 pin reset states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 8.3 usb2641 pin reset states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 9.1 crystal circuit legend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 10.1 pin capacitance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 11.1 usb2640/usb2641 gpio usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 6 smsc usb2640/usb2641 datasheet list of figures figure 3.1 usb2640 48-pin qfn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 3.2 usb2641 48-pin qfn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 figure 4.1 usb2640 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 figure 4.2 usb2641 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 figure 6.1 port power control with usb power switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 6.2 port power control with single poly fuse and mult iple loads . . . . . . . . . . . . . . . . . . . . . . . 26 figure 6.3 port power with ganged control wit h poly fuse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 6.4 usb2640/usb2641 spi rom connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 figure 6.5 usb2640/usb2641 i 2 c connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 figure 7.1 nreset timing for eeprom mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 figure 8.1 pin reset states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 9.1 typical crystal circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 figure 9.2 capacitance formulas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 figure 9.3 ceramic resonator usage with smsc ic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 figure 10.1 supply rise time models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 figure 12.1 usb2640/usb2641 48-pin qfn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 7 revision 2.1 (06-29-09) datasheet chapter 1 overview the smsc usb2640/usb2641 is an integrated usb 2.0 compliant, hi-speed hub for usb port expansion with an attached bulk only mass storage cl ass peripheral controller. this multi-format flash media controller and usb hub combo features three downstream ports: one port is dedicated to an internally connected ultra fast flash media read er/writer and two exposed downstream ports are available for external peripheral expansion. the smsc usb2640/usb2641 is an ul tra fast, oem-configurable, hub controller ic with three downstream ports for embedded usb solutions. the usb2640/usb2641 will attach to an upstream port as a full-speed hub or as a full-/hi-spe ed hub. the hub supports low-speed, full-speed, and hi-speed (if operating as a hi-speed hub) downst ream devices on all of the enabled downstream ports. all required resistors on the usb ports are integrated into the hub. this includes all series termination resistors on d+ and dC pins and al l required pull-down and pull-up resistors on d+ and dC pins. the over-current sense inputs for the downstream facing ports have internal pull-up resistors. the usb2640/usb2641 includes programmable features such as: portmap which provides flexible port mapping and disable sequences. the downstream ports of a usb2640/usb2641 hub can be reordered or disabled in any sequence to support multiple platform designs with minimum effort. for any port that is disabled, the usb2640/usb2641 automatically reorders the remaining ports to match the usb host controllers port numbering scheme. portswap which adds per-port programmability to us b differential-pair pin locations. portswap allows direct alignment of usb signals (d+/d- ) to connectors avoiding uneven trace length or crossing of the usb differential signals on the pcb. phyboost which enables four programmable levels of u sb signal drive strength in downstream port transceivers. phyboost attempts to restore us b signal integrity that has been compromised by system level variables such as poo r pcb layout, long cables, etc. downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 8 smsc usb2640/usb2641 datasheet 1.1 device features hardware features ? single chip flash media controller ? transaction translator (tt) in the hub su pports operation of fs and ls peripherals ? full power management with individual or ganged power control of each downstream port ? optional support for external firmware access via spi interface - 30 mhz or 60 mhz operation support - single bit or dual bit mode support - mode 0 or mode 3 spi support compliant with the following flash media card specifications: ? secure digital 2.0 / multimediacard 4.2 - sd 2.0, hs-sd, hc-sd - transflash? and reduced form factor media - 1/4/8 bit mmc 4.2 ? sdio and mmc streaming mode support ? memory stick 1.43 ? memory stick pro format 1.02 ? memory stick pro-hg duo format 1.01 - memory stick, ms duo, hs-ms, ms pro-hg, ms pro ? memory stick duo 1.10 ? xd-picture card 1.2 (usb2640 only) ? on board 24 mhz crystal driver circuit ? optional external 24 mhz clock input - must be used with an external resi stor divider to provide a 1.8 v signal ? up to 9 gpios: configuration and polarity for special function use such as led indicators, button inputs, and power control to memory devices - the number of actual gpios depends on the implementation configuration used - one gpio available with up to 200 ma driv e and protected fold-back short circuit current ? 8051 8-bit microprocessor - 60 mhz - single cycle execution - 64 kb rom; 9 kb ram ? internal regulator for 1.8 v core operation ? optimized pinout improves signal flow, easing implementation and allowing for improved signal integrity treatment software features ? optimized for low latency interrupt handling ? hub and flash media reader/writer configur ation from a single source: external i 2 c rom or external spi rom ? eeprom update via usb ? please see the usb2640/usb2641 software release notes for additional software features downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 9 revision 2.1 (06-29-09) datasheet 1.2 oem selectable features hub a default configuration is available in usb2640/ usb2641 following a reset. the usb2640/usb2641 may also be configured by an external i 2 c eeprom or via external spi rom flash. the usb2640/usb2641 supports several oem selectable features: ? compound device support (port is permanently hardwired to a downstream usb peripheral device), on a po rt-by-port basis. ? select over-current sensing and port power control on an individual (port-by-port) or ganged (all ports together) basis to match the oems ch oice of circuit board component selection. ? port power control and over-cu rrent detection/delay features ? configure the delay time for filter ing the over-current sense inputs. ? configure the delay time for turning on downstream port power. ? bus- or self-powered selection ? hub port disable or non-removable configurations ? flexible port mapping and disable sequence. port s can be disabled/reordered in any sequence to support multiple platforms with a single design. the hub will automatically reorder the remaining ports to match the host controller's numbering scheme. ? programmable usb differential-pair pin location. - eases pcb layout by aligning usb signal lines directly to connectors ? programmable usb signal drive strength. recove r usb signal integrity due to compromised system environments using four le vels of signal drive strength. ? indicate the maximum current that the 2-port hub consumes from the usb upstream port. ? indicate the maximum current required for the hub controller. flash media controller ? customize vendor id, product id, and device id. ? 12-hex digit (max) serial number string ? customizable vendor spec ific data by optional use of external serial eeprom ? 28-character manufacturer id and product string for flash media reader/writer ? led blink interval or duration downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 10 smsc usb2640/usb2641 datasheet chapter 2 acronyms fm: flash media fmc: flash media controller fs: full-speed device ls: low-speed device hs: hi-speed device i 2 c ? : inter-integrated circuit 1 mmc: multimediacard ms: memory stick msc: memory stick controller ocs: over-current sense rxd: received exchange data sd: secure digital sdc: secure digital controller txd: transmit exchange data uart: universal asynchronous receiver-transmitter uchar: unsigned character uint: unsigned integer xd: xd-picture card standard microsystems is a registered trademark and smsc is a trademark of standard microsyste ms corporation. other product and company names are trademarks or registered trademarks of their respective holders. *note: in order to develop, make, use, or sell readers and/or other products using or incorporating any of the smsc devices mad e the subject of this document or to use related smsc software programs, technical information and licenses under patent and othe r intellectual property rights from or through various persons or entities, including without limitation media standard companies , forums, and associations, and other patent holders may be requi red. these media standard companies, forums, and associations include without limitation the following: sony corporation (memory stick, memory stick pro); sd3 llc (secure digital); multimed ia card association (multimediacard); the ssfdc forum (smartmedi a); the compact flash association (compact flash); and fuji photo film co., ltd., olympus optical co., ltd., and toshiba co rporation (xd-picture card). smsc does not make such licenses or technical information available; does not promise or repres ent that any such licenses or technical information will actually be obtainable from or through the various persons or entities (inc luding the media standard companies, forums, and associations), or with respect to the terms under which they may be made available; and is not responsible for the accuracy or sufficiency of, or otherwise with respect to, any such technical information. smsc's obligations (if any) under the terms of sale agreement, or any other agreement with any customer, or otherwise, with respect to infringement, including without limitation any obligati ons to defend or settle claims, to reimburse for costs, or to pay damages, shall not apply to any of the devices made the subject of this document or any software programs related to any of suc h devices, or to any combinations involving any of them, with respect to infringement or claimed infringement of any existing or future patents related to solid state disk or other flash memory technol ogy or applications ("solid state disk patents"). by making an y purchase of any of the dev ices made the subject of this document, the customer represents, warrants, and agrees that it has obtained all necessary licenses under then-existing solid state di sk patents for the manufacture, use and sale of solid state d isk and other flash memory products and that the customer will timely obtain at no cost or expense to smsc all necessary licenses under solid state disk patents; that the manufacture and testing by or for smsc of the units of any of the devices made the sub ject of this document which may be sold to the customer, and any sale by smsc of such units to the customer, are valid exercises of the customer's rights and licenses under such solid state disk patents; that smsc shall have no obligation for royalties or oth erwise under any solid state disk patents by reason of any such manufacture, use, or sale of such units; and that smsc shall have no obligation for any costs or expenses related to the customer's obtaining or having obtained rights or licenses under any solid state disk patents. smsc makes no warranties, express, implied, or statutory, in regard to infringement or other violation of intellectual property rights. smsc disclaims and excludes any and all warranties against infringement and the like. no license is granted by smsc expressly, by implication, by estoppel or otherwise, under any patent, trademark, copyright, mask work right, trade secret, or other intellectual property right. **to obtain this software program the appropriate smsc software license agreement must be executed and in effect. forms of these so ftware license agreements may be obtained by contacting smsc. 1.i 2 c is a registered trademark of philips corporation. downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 11 revision 2.1 (06-29-09) datasheet chapter 3 pin configurations figure 3.1 usb2640 48-pin qfn ground pad (must be connected to vss) smsc usb2640 (top view qfn-48) indicates pins on the bottom of the device. nreset 38 vbus_det 39 gpio1 / led / txd 37 test 40 vdd33 41 usb- 43 xtal2 44 xtal1 (clkin) 45 rbias 48 vdd33 47 pllfilt 46 usb+ 42 vdd33 1 usbdn_dm2 2 usbdn_dp2 3 usbdn_dm3 4 usbdn_dp3 5 prtctl2 6 prtctl3 7 spi_ce_n 8 spi_clk / gpio4 / scl 9 vdd33 10 spi_di 11 spi_do / gpio5 / sda / spi_spd_sel 12 21 xd_nwp / sd_clk / ms_bs 20 xd_d0 / sd_d6 / ms_d7 19 xd_d1 / sd_d7 / ms_d6 18 xd_d2 / sd_d0 / ms_d4 17 crfilt 16 xd_d3 / sd_d1 / ms_d5 15 vdd33 14 gpio15 / sd_ncd 13 xd_d4 / gpio6 / sd_wp / ms_sclk 23 xd_ale / sd_d5 / ms_d1 22 xd_nwe 24 xd_cle / sd_cmd / ms_d0 35 gpio2 / rxd 34 gpio10 (crd_pwr) 33 vdd33 32 xd_d6 / sd_d3 / ms_d3 31 gpio12 / ms_ins 30 xd_d7 / sd_d4 / ms_d2 29 gpio14 / xd_ncd 28 xd_nb/r 36 xd_d5 / sd_d2 27 xd_nre 26 xd_nce 25 vdd33 downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 12 smsc usb2640/usb2641 datasheet figure 3.2 usb2641 48-pin qfn ground pad (must be connected to vss) smsc usb2641 (top view qfn-48) indicates pins on the bottom of the device. nreset 38 vbus_det 39 gpio1 / led / txd 37 test 40 vdd33 41 usb- 43 xtal2 44 xtal1 (clkin) 45 rbias 48 vdd33 47 pllfilt 46 usb+ 42 vdd33 1 usbdn_dm2 2 usbdn_dp2 3 usbdn_dm3 4 usbdn_dp3 5 prtctl2 6 prtctl3 7 spi_ce_n 8 spi_clk / gpio4 / scl 9 vdd33 10 spi_di 11 spi_do / gpio5 / sda / spi_spd_sel 12 21 sd_clk / ms_bs 20 sd_d6 / ms_d7 19 sd_d7 / ms_d6 18 sd_d0 / ms_d4 17 crfilt 16 sd_d1 / ms_d5 15 vdd33 14 gpio15 / sd_ncd 13 gpio6 / sd_wp / ms_sclk 23 sd_d5 / ms_d1 22 nc 24 sd_cmd / ms_d0 35 gpio2 / rxd 34 gpio10 (crd_pwr) 33 vdd33 32 sd_d3 / ms_d3 31 gpio12 / ms_ins 30 sd_d4 / ms_d2 29 gpio14 28 nc 36 sd_d2 27 nc 26 nc 25 vdd33 downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 13 revision 2.1 (06-29-09) datasheet chapter 4 block diagrams figure 4.1 usb2640 block diagram to upstream v bus 3.3 v upstream phy upstream usb data repeater controller serial interface engine serial interface pll 24 mhz crystal routing & port re-ordering logic port controller phy port #3 oc sense switch driver bus-power detect/v bus pulse 1.8 v transaction translator 1.8 v reg phy port #2 oc sense switch driver usb data downstream oc sense/ pwr switch 8051 processor sfr ram xdata bridge + bus arbiter rom 64 k ram 6 k addr map gpios program memory i/o bus pwr_fet0 6 pins gpio10 (crd_pwr) 3 k total ram ep2 tx ep2 rx bus intfc ep0 tx ep0 rx sie ctl bridge bus intfc fmdu ctl auto_cbw proc fmi bus intfc usb data downstream flash media cards (require combo socket) ms xd sd/ mmc oc sense/ pwr switch spi spi (4 pins) / gpio (2 pins) downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 14 smsc usb2640/usb2641 datasheet figure 4.2 usb2641 block diagram to upstream v bus 3.3 v upstream phy upstream usb data repeater controller serial interface engine serial interface pll 24 mhz crystal routing & port re-ordering logic port controller phy port #3 oc sense switch driver bus-power detect/v bus pulse 1.8 v transaction translator 1.8 v reg phy port #2 oc sense switch driver usb data downstream oc sense/ pwr switch 8051 processor sfr ram xdata bridge + bus arbiter rom 64 k ram 6 k addr map gpios program memory i/o bus pwr_fet0 6 pins gpio10 (crd_pwr) 3 k total ram ep2 tx ep2 rx bus intfc ep0 tx ep0 rx sie ctl bridge bus intfc fmdu ctl auto_cbw proc bus intfc usb data downstream oc sense/ pwr switch spi spi (4 pins) / gpio (2 pins) fmi flash media cards (require combo socket) ms sd/ mmc downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 15 revision 2.1 (06-29-09) datasheet chapter 5 pin tables 5.1 48-pin tables table 5.1 usb2640 48-pin table xd-picture card (only in usb2640) / secure di gital / memory stick interface (18 pins) xd_d3 / sd_d1 / ms_d5 xd_d2 / sd_d0 / ms_d4 xd_d1 / sd_d7 / ms_d6 xd_d0 / sd_d6 / ms_d7 xd_nwp / sd_clk / ms_bs xd_ale / sd_d5 / ms_d1 xd_cle / sd_cmd / ms_d0 xd_d7 / sd_d4 / ms_d2 xd_d6 / sd_d3 / ms_d3 xd_d5 / sd_d2 xd_nre xd_nwe xd_d4 / gpio6 / sd_wp / ms_sclk xd_nb/r xd_nce gpio12 / ms_ins gpio14 / xd_ncd gpio15 / sd_ncd usb interface (5 pins) usb+ usb- xtal1 (clkin) xtal2 rbias 2-port usb interface (7 pins) usbdn_dp2 usbdn_dm2 prtctl2 prtctl3 usbdn_dp3 usbdn_dm3 vbus_det downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 16 smsc usb2640/usb2641 datasheet spi interface (4 pins) spi_ce_n spi_clk / gpio4 / scl spi_do / gpio5 / sda / spi_spd_sel spi_di misc (5 pins) nreset test gpio1 / led / txd gpio2 / rxd gpio10 (crd_pwr) power and ground (9 pins) (7) vdd33 crfilt pllfilt total 48 table 5.2 usb2641 48-pin table secure digital / memory st ick interface (14 pins) sd_d1 / ms_d5 sd_d0 / ms_d4 sd_d7 / ms_d6 sd_d6 / ms_d7 sd_clk / ms_bs sd_d5 / ms_d1 sd_cmd / ms_d0 sd_d4 / ms_d2 sd_d3 / ms_d3 sd_d2 gpio12 / ms_ins gpio14 gpio6 / sd_wp / ms_sclk gpio15 / sd_ncd usb interface (5 pins) usb+ usb- xtal1 (clkin) xtal2 table 5.1 usb2640 48-pin table (continued) downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 17 revision 2.1 (06-29-09) datasheet rbias 2-port usb interface (7 pins) usbdn_dp2 usbdn_dm2 prtctl2 prtctl3 usbdn_dp3 usbdn_dm3 vbus_det spi interface (4 pins) spi_ce_n spi_clk / gpio4 / scl spi_do / gpio5 / sda / spi_spd_sel spi_di misc (5 pins) nreset test gpio1 / led / txd gpio2 / rxd gpio10 (crd_pwr) power and ground (13 pins) (7) vdd33 crfilt pllfilt pllfilt (4) nc total 48 table 5.2 usb2641 48-pin table (continued) downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 18 smsc usb2640/usb2641 datasheet chapter 6 pin descriptions this section provides a detailed description of each signal. the signals are arranged in functional groups according to their associated interface. the pin descriptions below are applied when using the internal default firmware and can be referenced in chapter 7, "configuration options," on page 28 . please reference chapter 2, acronyms for a list of the acronyms used. the n symbol in the signal name indicates that th e active, or asserted, state occurs when the signal is at a low voltage level. when n is not present in the signal name, the signal is asserted at a high voltage level. the terms assertion and negation are used exclusively. this is done to avoid confusion when working with a mixture of active low and active high signals. the term asser t, or assertion, indicates that a signal is active, independent of whether that level is represented by a high or low voltage. the term negate, or negation, indicates that a signal is inactive. 6.1 usb2640/usb2641 pin descriptions table 6.1 usb2640/usb2641 pin descriptions symbol 48-pin qfn buffer type ( table 6.2 ) description xd-picture card interface (applies only to usb2640) xd_d[7:0] 30 3233 13 17 18 19 20 i/o12pu xd-picture card data 7-0 these pins are the bi-directional data signal xd_d7 - xd_d0 and have weak internal pull-up resistors. xd_ale 23 o12pd xd-picture card address strobe this pin is an active high address latch enable signal for the xd- picture card device. this pin has a weak pull-down resistor that is permanently enabled. xd_nb/r 28 ipu xd-picture card busy or data ready this pin is connected to the bsy/rdy pin of the xd-picture card device. when using the internal fet, this pin has an internal weak pull-up resistor that is tied to the ou tput of the internal power fet. if an external fet is used (the internal fet is disabled), then the internal pull-up is not available (an external pull-up is required). downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 19 revision 2.1 (06-29-09) datasheet xd_nce 26 o12pu xd-picture card chip enable this pin is an active low chip enable signal for the xd-picture card device. when using the internal fet, this pin has an internal weak pull-up resistor that is tied to the ou tput of the internal power fet. if an external fet is used (the internal fet is disabled), then the internal pull-up is not available (an external pull-up is required). xd_cle 24 o12pd xd-picture card command strobe this pin is an active high command latch enable signal for the xd- picture card device. this pin has a weak pull-down resistor that is permanently enabled. gpio14 / xd_ncd 29 i/o12 this general purpose pin may be used either as input, edge sensitive interrupt input, or output. custom firmware is required to activate this function. xd-picture card detection gpio this is a gpio designated by the default firmware as the xd-picture card detection pin. xd_nre 27 o12pu xd-picture read enable this pin is an active low read strobe signal for the xd-picture card device. when using the internal fet, this pin has an internal weak pull-up resistor that is tied to the ou tput of the internal power fet. if an external fet is used (the internal fet is disabled), then the internal pull-up is not available (an external pull-up is required). xd_nwe 22 o12pu xd-picture card write enable this pin is an active low write strobe signal for the xd-picture card device. when using the internal fet, this pin has an internal weak pull-up resistor that is tied to the ou tput of the internal power fet. if an external fet is used (the internal fet is disabled), then the internal pull-up is not available (an external pull-up is required). xd_nwp 21 o12pd xd-picture card write protect this pin is an active low write protect signal for the xd-picture card device. this pin has a weak pull-down resistor that is permanently enabled. memory stick interface ms_bs 21 o12 memory stick bus state this pin is connected to the bus state pin of the ms device. it is used to control the bus states 0, 1, 2, and 3 (bs0, bs1, and bs3) of the ms device. table 6.1 usb2640/usb2641 pin descriptions (continued) symbol 48-pin qfn buffer type ( table 6.2 ) description downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 20 smsc usb2640/usb2641 datasheet gpio12 / ms_ins 31 i/o12 this general purpose pin may be used either as input, edge sensitive interrupt input, or output. custom firmware is required to activate this function. ipu memory stick card insertion gpio this is a gpio designated by the default firmware as the memory stick card detection pin and has an internal weak pull-up resistor. ms_sclk 13 o12 memory stick system clock this pin is an output clock signal to the ms device. ms_d[7:0] 20 1917 18 32 30 23 24 i/o12pd memory stick system data in/out these pins are the bi-directional data signals for the ms device. in serial mode, the most significant bi t (msb) of each byte is transmitted first by either msc or ms device on ms_d0. ms_d0, ms_d2, and ms_d3 have weak pull-down resistors. ms_d1 has a pull down resistor if in parallel mode, otherwise it is disabled. in 4- or 8-bit parallel modes, all ms_d7 - ms_d0 signals have weak pull-down resistors. secure digital / multimediacard interface sd_d[7:0] 19 2023 30 32 33 17 18 i/o12pu secure digital data 7-0 these are the bi-directional data signals sd_d0-sd_d7 and have weak pull-up resistors. sd_clk 21 o12 secure digital clock this is an output clock si gnal to the sd/mmc device. sd_cmd 24 i/o12pu secure digital command this is a bi-directional signal that connects to the cmd signal of the sd/mmc device and has an internal weak pull-up resistor. gpio6 / sd_wp 13 i/o12 this general purpose pin may be used either as input, edge sensitive interrupt input, or output. custom firmware is required to activate this function. secure digital write protected gpio this is a gpio designated by the default firmware as the secure digital card mechanical write protect detect pin. gpio15 / sd_ncd 14 i/o12 this general purpose pin may be used either as input, edge sensitive interrupt input, or output. custom firmware is required to activate this function. secure digital card detect gpio this is a gpio designated by the default firmware as the secure digital card detection pin. table 6.1 usb2640/usb2641 pin descriptions (continued) symbol 48-pin qfn buffer type ( table 6.2 ) description downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 21 revision 2.1 (06-29-09) datasheet usb interface usb- usb+ 4342 i/o-u usb bus data these pins connect to the upstream usb bus data signals. usb+ and usb- can be swapped using t he portswap feature (see section 7.3.5.20, "f1h: port swap," on page 46 ). usbdn_dm [3:2] usbdn_dp [3:2] 31 4 2 i/o-u usb bus data these pins connect to the downstream usb bus data signals and can be swapped using the portswap feature (see section 7.3.5.20, "f1h: port swap," on page 46 ). prtctl[3:2] 7 6 i/od12pu usb power enable as an output, these pins enable power to downstream usb peripheral devices and have weak internal pull-up resistors. see section 6.3, "port power control" for diagram and usage instructions. as an input, when the power is enabled, these pins monitor the over- current condition. when an over-c urrent condition is detected, the pins turn the power off. vbus_det 39 i detect upstream vbus power detects the state of upstream vbus power. the hub monitors vbus_det to determine when to assert the internal d+ pull-up resistor (signaling a connect event). when designing a detachable hub, connect this pin to the vbus power pin of the usb port that is upstream of the hub. for self-powered applications with a permanently attached host, this pin should be pulled up, typically to vdd33. vbus is a 3.3 volt input. a resistor divider must be used if connecting to 5 volts of usb power. rbias 47 i-r usb transceiver bias a 12.0 k 1.0% resistor is attached from vss to this pin in order to set the transceiver's internal bias currents. xtal1 (clkin) 45 iclkx 24 mhz crystal input or external clock input this pin can be connected to one term inal of the crystal or it can be connected to an external 24 mhz 1.8 v clock when a crystal is not used. xtal2 44 oclkx 24 mhz crystal output this is the other terminal of the cr ystal, or it is left open when an external clock source is used to drive xtal1(clkin). table 6.1 usb2640/usb2641 pin descriptions (continued) symbol 48-pin qfn buffer type ( table 6.2 ) description downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 22 smsc usb2640/usb2641 datasheet spi interface spi_ce_n 8 o12 spi chip enable this is the active low chip enable output. when the spi interface is enabled, drive this pin high in power down states. spi_clk / gpio4 / scl 9 i/o12 spi clock this is the spi clock out to the serial rom. see section 6.4, "rom boot sequence" for diagram and usage instructions. during reset, drive this pin low. this pin may be used either as inpu t, edge sensitive interrupt input, or output. custom firmware is requ ired to activate this function. when configured, this is the i 2 c eeprom clock pin. spi_do / gpio5 / sda / spi_spd_sel 10 i/o12 spi data out this is the data out for the spi port. see section 6.4, "rom boot sequence" for diagram and usage instructions. this pin may be used either as inpu t, edge sensitive interrupt input, or output. custom firmware is requ ired to activate this function. this pin is the data pin when the device is connected to the optional i 2 c eeprom. this pin is used to select the speed of the spi interface. during nreset assertion, this pin will be tr i-stated with the weak pull-down resistor enabled. when nreset is negated, the value on the pin will be internally latched, and the pin will revert to spi_do functionality, the internal pull-down will be disabled. 0 = 30 mhz (no external resistor should be applied) 1 = 60 mhz (a 10 k external pull-up resistor must be applied) if the latched value is '1', then the pin is tri-stated when the chip is in the suspend state. if the latched value is '0', then the pin is driven low during a suspend state. spi_di 11 i/o12pd spi data in this is the data in to the contro ller from the rom. this pin has a weak internal pull-down applied at all times to prevent floating. misc gpio1 / led / txd 37 i/o12 this pin may be used either as input, edge sensitive interrupt input, or output. custom firmware is requ ired to activate this function. gpio1 can be used as an led output. the signal can be used as input to the txd of uart in the device. custom firmware is required to activate this function. table 6.1 usb2640/usb2641 pin descriptions (continued) symbol 48-pin qfn buffer type ( table 6.2 ) description downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 23 revision 2.1 (06-29-09) datasheet gpio2 / rxd 36 i/o12 this pin may be used either as input, edge sensitive interrupt input, or output. custom firmware is requ ired to activate this function. this signal can used as input to the rxd of the internal uart. custom firmware is required to activate this function. gpio10 (crd_pwr) 35 i/o200 card power drive: 3.3 v (100 ma or 200 ma) this pin powers the multiplexed flash media interface (slot) for xd, ms, and sd/mmc. if card power is not being used to power the multiplexed flash media interface, this pin may be used as a gpio. it is a requirement for this to be the only fet used to power xd- picture card devices. failure to do this will violate xd voltage specification on xd-picture card device pins. bits 0, 1, 2, and 3 control fet 2 of register a5h. please reference section 7.3.4.5, "a8h: led blin k interval (1 byte)," on page 38 . nreset 38 is reset input the system uses this active low si gnal to reset the chip. the active low pulse should be at least 1 s wide. test 40 i test input tie this pin to ground for normal operation. nc 22 2627 28 no connects no connect pins only apply to the usb2641. no trace or signal should be routed or attached to these pins. digital / power / ground crfilt 15 vdd core regulator filter capacitor this pin must have a 1.0 f (or greater) 20% (esr <0.1 ) capacitor to vss. vdd33 5 1216 25 34 41 48 3.3 v power and voltage regulator inputs please refer to chapter 10, "dc parameters," on page 58 for more information. pins 16 and 48 each require an external bypass capacitor of 4.7 f minimum. pllfilt 46 pll regulator filter capacitor this pin must have a 1.0 f (or greater) 20% (esr <0.1 ) capacitor to vss. vss epad the ground pad / epad is the only vss for the device and must be tied to ground with multiple vias. table 6.1 usb2640/usb2641 pin descriptions (continued) symbol 48-pin qfn buffer type ( table 6.2 ) description downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 24 smsc usb2640/usb2641 datasheet 6.2 buffer type descriptions table 6.2 usb2640/usb2641 buffer type descriptions buffer description i input. ipu input, weak internal pull-up. is input with schmitt trigger. i/o12 input/output buffer with 12 ma sink and 12 ma source. i/o200 input/output buffer 12 ma with fet di sabled, 100/200 ma source only when the fet is enabled. i/o12pd input/output buffer with 12 ma sink and 12 ma source, with an internal weak pull-down resistor. i/o12pu open drain, 12 ma sink with pull-up. input with schmitt trigger. i/od12pu input/open drain output buffer with a 12 ma sink. o12 output buffer with a 12 ma sink and a 12 ma source. o12pd output buffer with 12 ma sink and 12 ma source, with a pull-down resistor. o12pu output buffer with 12 ma sink an d 12 ma source, with a pull-up resistor. iclkx xtal clock input. oclkx xtal clock output. i/o-u analog input/output as defined in the usb 2.0 specification. i-r rbias. downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 25 revision 2.1 (06-29-09) datasheet 6.3 port power control port power control us ing usb power switch the usb2640/usb2641 has a single port power control and over-current sense signal for each downstream port. when disabling port power, the driver will actively drive a '0'. to avoid unnecessary power dissipation, the internal pull-up resistor will be disabled at that time. when port power is enabled, the output driver is disabled, and the pull-up resistor is enabled crea ting an open drain output. if there is an over-current situation, the usb power switch will assert the open drain ocs signal. the schmitt trigger input will detect this event as a low. the op en drain output does not interf ere. the internal over- current sense filter handles the transient conditions , such as low voltage, while the device is powering up. figure 6.1 port po wer control with usb power switch usb2640/usb2641 usb power switch 5 v usb device prtctl3 en ocs usb power switch 5 v usb device prtctl2 en ocs downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 26 smsc usb2640/usb2641 datasheet port power control using a poly fuse when using the usb2640/usb2641 with a poly fuse, an external diode must be used (see figure 6.2 ). when disabling port power, the usb2640/usb2641 wil l drive a '0'. this procedure will have no effect since the external diode will isolate the pin from the load. when port power is enabled, the usb2640/usb2641 output driver is disabled, and the pull-up resistor is enabled which creates an open drain output. the open drain output condition means that the pull-up resistor is providing 3.3 volts to the anode of the diode. if there is an over-current si tuation, the poly fuse will open causing the cathode of the diode to go to 0 volts. the anode of the di ode will be at 0.7 volt, and the schmitt trigger input will register this as a low resulting in an ov er-current detection. the open drain output does not interfere. figure 6.2 port power control with single poly fuse and multiple loads when using a single poly fuse to power all devices, note that for the ganged situation, all power control pins must be tied together. figure 6.3 port power with ganged control with poly fuse usb device 5 v prtctl3 usb device 5 v prtctl2 usb2640/ usb2641 usb device poly fuse 5 v usb device prtctl2 prtctl3 usb2640/usb2641 downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 27 revision 2.1 (06-29-09) datasheet 6.4 rom boot sequence after power-on reset, the inte rnal firmware checks for an external spi flash device that contains a valid signature of "2dfu" (device firmware upgrade) be ginning at address 0xfffa. if a valid signature is found, then the external rom is enabled and code execution begins at address 0x0000 in the external spi device. otherwise, code execution continues from the internal rom. if there is no spi rom detected , the internal firmware then checks for the presence of an i 2 c rom. the firmware looks for the signature ata2 at the offset of 0xfc-0xff in the i 2 c rom. the firmware reads in the i 2 c rom to configure the hardware and software internally. please refer to section 7.3.2 eeprom data descriptor on page 29 for the details of th e configuration options. the spi rom required for the usb2640/usb2641 must be 1 mbit and support either 30 mhz or 60 mhz. the frequency used is set using the spi_spd _sel. for 30 mhz operation, this pin must be pulled to ground through a 100 k resistor. for 60 mhz operation, this pin must pulled up through a 100 k resistor. spi_spd_sel: this pin is used to choose the speed of the spi interface. during nreset assertion, this pin will be tri-stated wit h the weak pull-down resistor enabled. when nreset is negated, the value on the pin will be internally latched, and the pin will revert to spi_do functionality, the internal pull-down will be disabled. the firmware can determine the spee d of operation on the spi port by checking the spi_speed in the spi_ctl register (0x2400 - reset = 0x02). bo th 1- and 2-bit spi operation is supported. for optimum throughput, a 2-bit spi rom is recommended. both mode 0 and mode 3 spi roms are also supported. figure 6.4 usb2640/usb2641 spi rom connection figure 6.5 usb2640/usb2641 i 2 c connection spi_ce_n spi_clk / gpio4 / scl spi_di usb2640/ usb2641 spi_do / gpio5 / sda / spi_spd_sel spi rom ce# clk si so i 2 c rom scl sda 3.3 v 3.3 v 10 k 10 k usb2640/ usb2641 downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 28 smsc usb2640/usb2641 datasheet chapter 7 configuration options 7.1 hub smscs usb 2.0 hub is fully compliant to the univer sal serial bus specification available from the usb implementers forum found at http://www.usb.o rg (revision 2.0 april 27, 2000 and the 12/7/2000 and 5/28/2002 errata). please reference chapter 11 (hub specification) for general details regarding hub operation and functionality. the hub provides 1 transaction transl ator (tt) that is shared by bo th downstream ports (defined as a single-tt configuration). the tt contains 4 non-periodic buffers. 7.1.1 hub configuration options the smsc hub supports a large nu mber of features (some are mu tually exclusive), and must be configured in order to correctly function when attac hed to a usb host controller. there are two principal ways to configure the hub: ? via the internal default settings or ? by settings stored in an extern al eeprom or spi flash device. 7.1.1.1 power switching polarity the hub only supports active high port power controllers. 7.1.2 vbus detect according to section 7.2.1 of the usb 2.0 specific ation, a downstream port cannot provide power to its d+ or d- pull-up resistors unless the upstream ports vbus is in the asserted (powered) state. the vbus_det pin on the hub monitors the state of th e upstream vbus signal and will not pull-up the d+ resistor if vbus is not active. if vbus goes from an active to an inactive state (not powered), the hub will remove power from the d+ pull-up resistor within 10 seconds. 7.2 card reader the smsc usb2640/usb2641 is fully compliant with the following flash media card reader specifications: ? secure digital 2.0 / multimediacard 4.2 -sd 2.0, hs-sd, hc-sd -transflash? and reduced form factor media -1/4/8 bit mmc 4.2 ? memory stick 1.43 ? memory stick pro format 1.02 ? memory stick pro-hg duo format 1.01 -memory stick, ms duo, hs-ms, ms pro-hg, ms pro ? memory stick duo 1.10 ? xd-picture card 1.2 compliant downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 29 revision 2.1 (06-29-09) datasheet 7.3 system configurations 7.3.1 eeprom/spi interface the usb2640/usb2641 can be configured via a 2-wire (i 2 c) eeprom (256x8 or a recommended 512x8 for internal rom support) or an external spi rom flash device containing the firmware for the usb2640/usb2641. if an external configuration device does not exist, the inte rnal default values will be used. if one of the external devices is used for configurati on, the oem can update the values through the usb interface. the hub will t hen attach to the upstream usb host. when using an external spi flas h, the register addresses in the following three tables ( ta b l e 7 . 1 , table 7.2 , ) refer to offsets from the starting location fe80h. the usbdm tool set is available in the usb264x hub card reader combo software release package. to download the software package from smscs website, please visit: https://www2.smsc.com/mkt/cw_sft_pu b.nsf/agreements/obj+hub+card+reader to go to the obj hub card reader software download agreement. review the license, and if you agree, check the i agree box and then select confirm. you will then be able to download the usb264x hub card reader combo release package zip file containing the usbdm tool set. please note that the following applies to the system values and description s when used: ? n/a = not applicable to this part ? reserved = for internal use 7.3.2 eeprom data descriptor table 7.1 internal flash media controller configurations address register name description default value 00h usb_ser_len usb serial string descriptor length 1ah 01h usb_ser_typ usb serial string descriptor type 03h 02h-19h usb_ser_num usb serial number "000000264001" (see note 7.1 ) 1ah-1bh usb_vid usb vendor identifier 0424 1ch-1dh usb_pid usb product identifier 4050 1eh usb_lang_len usb language string descriptor length 04h 1fh usb_lang_typ usb language string descriptor type 03h 20h usb_lang_id_lsb usb language identifier least significant byte 09h (see note 7.3 ) 21h usb_lang_id_msb usb language identifier most significant byte 04h (see note 7.3 ) 22h usb_mfr_str_len usb manufacturer string descriptor length 10h 23h usb_mfr_str_typ usb manufacturer string descriptor type 03h 24h-31h usb_mfr_str usb manufacturer string generic (see note 7.1 ) downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 30 smsc usb2640/usb2641 datasheet 32h-5dh reserved - 00h 5eh usb_prd_str_len usb product string descriptor length 30h 5fh usb_prd_str_typ usb product string descriptor type 03h 60h-99h usb_prd_str usb product string "ultra fast media reader" (see note 7.1 ) 9ah usb_bm_att usb bmattribute 80h 9bh usb_max_pwr usb max power 30h (96 ma) 9ch att_lb attribute lo byte 40h (reverse sd_wp only) 9dh att_hlb attribute hi lo byte 00h 9eh att_lhb attribute lo hi byte 00h 9fh att_hb attribute hi byte 00h a0h ms_pwr_lb memory stick device power lo byte 08h a1h ms_pwr_hb memory stick device power hi byte 00h a2h not applicable - 80h a3h not applicable - 00h a4h sm_pwr_lb smart media device power lo byte 00h (see note 7.2 ) a5h sm_pwr_hb smart media device power hi byte 08h (see note 7.2 ) a6h sd_pwr_lb secure digital device power lo byte 00h a7h sd_pwr_hb secure digital device power hi byte 80h a8h led_blk_int led blink interval 02h a9h led_blk_dur led blink after access 28h aah - b0h dev0_id_str device 0 identifier string combo b1h - b7h dev1_id_str device 1 identifier string n/a b8h - beh dev2_id_str device 2 identifier string n/a bfh - c5h dev3_id_str device 3 identifier string n/a c6h - cdh inq_ven_str inquiry vendor string generic ceh - d2h inq_prd_str inquiry product string 2640 d3h dyn_num_lun dynamic number of luns ffh d4h - d7h lun_dev_map device to lun mapping ffh, ffh, ffh, ffh table 7.1 internal flash media cont roller configurations (continued) address register name description default value downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 31 revision 2.1 (06-29-09) datasheet d8h - dah reserved - 00h, 04h, 09h dbh - ddh reserved - 5ch, 59h, 9ah table 7.2 hub controller configurations address register name descri ption default value deh vid_lsb vendor id least significant byte 24h dfh vid_msb vendor id most significant byte 04h e0h pid_lsb product id least significant byte 40h e1h pid_msb product id most significant byte 26h e2h did_lsb device id least significant byte 00h e3h did_msb device id most significant byte 00h e4h cfg_dat_byt1 configuration data byte 1 8bh e5h cfg_dat_byt2 configuration data byte 2 28h e6h cfg_dat_byt3 configuration data byte 3 00h e7h nr_device non-removable devices 02h e8h port_dis_sp port disable (self) 00h e9h port_dis_bp port disable (bus) 00h eah max_pwr_sp max power (self) 01h ebh max_pwr_bp max power (bus) 32h ech hc_max_c_sp hub controller max current (self) 01h edh hc_max_c_bp hub controller max current (bus) 32h eeh pwr_on_time power-on time 32h efh boost_up boost_up 00h f0h boost_3:0 boost_3:0 00h f1h prt_swp port swap 00h f2h prtm12 port map 12 00h f3h prtm3 port map 3 00h table 7.3 other internal configurations address register name descri ption default value f4h reserved - 00h f5h reserved - 66h f6-fbh reserved - 00h table 7.1 internal flash media cont roller configurations (continued) address register name description default value downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 32 smsc usb2640/usb2641 datasheet note 7.1 this value is a unicode utf-16le encoded string value that meets the usb 2.0 specification (revision 2.0, 200 0). values in double quotations without this note are ascii values. note 7.2 a value of sm will be overridden with xd once an xd-picture card has been identified. note 7.3 for a list of the most current 16-bit languag e ids defined by the usb-if, please visit http://www.unicode.org or consult the unicode standard, worldwide character encoding, (version 4.0), the unicode consortium, addison-wesley publishing company, reading, massachusetts. 7.3.3 eeprom data descrip tor register descriptions 7.3.3.1 00h: usb serial string descriptor length \ 7.3.3.2 01h: usb serial string descriptor type 7.3.3.3 02h-19h: usb serial number option 7.3.3.4 1ah-1bh: usb vendor identifier option 7.3.3.5 1ch-1dh: usb product identifier option fch-ffh nvstore_sig non-volatile storage signature (ata2) ata2 byte name description 0 usb_ser_len usb serial string descriptor length as defined by section 9.6.7 string of the usb 2.0 specification (revision 2.0, 20 00). this field is the blength which describes the size of the st ring descriptor (in bytes). byte name description 1 usb_ser_typ usb serial string descriptor type as defined by section 9.6.7 string of the usb 2.0 specification (revision 2.0, 2000). this field is the bdescriptortype which is a constant value associated with a string descriptor type. byte name description 25:2 usb_ser_num maximum string length is 12 hex digits. must be unique to each device. byte name description 1:0 usb_vid this id is unique for every vendor. the vendor id is assigned by the usb implementers forum. byte name description 1:0 usb_pid this id is unique for every product . the product id is assigned by the vendor. table 7.3 other internal configurations address register name descri ption default value downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 33 revision 2.1 (06-29-09) datasheet 7.3.3.6 1eh: usb language string descriptor length 7.3.3.7 1fh: usb language string descriptor type 7.3.3.8 20h: usb language identifier least significant byte 7.3.3.9 21h: usb language iden tifier most significant byte 7.3.3.10 22h: usb manufacturer string descriptor length 7.3.3.11 23h: usb manufacturer string descriptor type 7.3.3.12 24h-31h: usb manufacturer string byte name description 0 usb_lang_len usb serial string de scriptor length as defined by section 9.6.7 string of the usb 2.0 specification (revision 2.0, 20 00). this field is the blength which describes the size of the st ring descriptor (in bytes). byte name description 1 usb_lang_typ usb serial string descriptor type as defined by section 9.6.7 string of the usb 2.0 specification (revision 2.0, 2000). this field is the bdescriptortype which is a constant value associated with a string descriptor type. byte name description 2 usb_lang_id _lsb english language code = 0409. see note 7.3 to reference additional language ids defined by the usb-if. byte name description 3 usb_lang_id _msb english language code = 0409. see note 7.3 to reference additional language ids defined by the usb-if. byte name description 0 usb_mfr_str _len usb serial string descriptor length as defined by section 9. 6.7 string of the usb 2.0 specification (revision 2.0, 20 00). this field is the blength which describes the size of the st ring descriptor (in bytes). byte name description 1 usb_mfr_str _typ usb serial string descriptor type as defi ned by section 9.6.7 string of the usb 2.0 specification (revision 2.0, 2000). this field is the bdescriptortype which is a constant value associated with a string descriptor type. byte name description 15:2 usb_mfr_str maximum string length is 28 characters. (see note 7.4 ) downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 34 smsc usb2640/usb2641 datasheet 7.3.3.13 32h-5dh: reserved 7.3.3.14 5eh: usb product string descriptor length 7.3.3.15 5fh: usb product string descriptor type 7.3.3.16 60h-99h: usb product string note 7.4 while the full strings are reported during usb enumeration, windows xp/vista reads concatenated version of the strings from th e standard scsi inquiry response when storing the values for display in the windows registry and device manager. byte name description 59:16 reserved reserved. byte name description 0 usb_prd_str usb serial string de scriptor length as defined by section 9.6.7 string of the usb 2.0 specification (revision 2.0, 20 00). this field is the blength which describes the size of the st ring descriptor (in bytes). byte name description 1 usb_prd_str usb serial string descriptor type as defined by section 9.6.7 string of the usb 2.0 specification (revision 2.0, 2000). this field is the bdescriptortype which is a constant value associated with a string descriptor type. byte name description 59:2 usb_prd_str this string will be used duri ng the usb enumeration process in the windows operating system. maximum string length is 28 characters. (see note 7.4 ) downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 35 revision 2.1 (06-29-09) datasheet 7.3.3.17 9ah: usb bmattribute (1 byte) 7.3.3.18 9bh: usb maxpower (1 byte) 7.3.3.19 9ch-9fh: attri bute byte descriptions bit name description 7:0 usb_bm_att self- or bus-power: select s between self- and bus-powered operation. the hub is either self-powered (dra ws less than 2 ma of upstream bus power) or bus-powered (limited to a 100 ma maximum of upstream power prior to being configured by the host controller). when configured as a bus-powered devic e, the smsc hub consumes less than 100 ma of current prior to being configured. after configuration, the bus- powered smsc hub (along with all associated hub circuitry, any embedded devices if part of a compound device, and 100 ma per externally available downstream port) must consume no more than 500 ma of upstream vbus current. the current consumption is system dependent, and the oem must ensure that the usb 2.0 spec ification is not violated. when configured as a self-powered device, <1 ma of upstream vbus current is consumed and all ports are av ailable, with each port being capable of sourcing 500 ma of current. 80 = bus-powered operation (default) c0 = self-powered operation a0 = bus-powered operation with remote wake-up e0 = self-powered operation with remote wake-up bit name description 7:0 usb_max_pwr usb max power per the usb 2.0 specification. do not set this value greater than 100 ma. byte byte name bit description 0 att_lb 3:0 always reads 0. 4 inquire manufacturer and product id strings 1 - use the inquiry manufacturer and product id strings. 0 (default) - use the usb descriptor manufacturer and product id strings. 5 always reads 0. 6 reverse sd card write protect sense 1 (default) - sd cards will be writ e protected when sw_nwp is high, and writable when sw_nwp is low. 0 - sd cards will be write protected when sw_nwp is low, and writable when sw_nwp is high. 7 reserved downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 36 smsc usb2640/usb2641 datasheet 7.3.4 a0h-a7h: device power configuration the usb4640/usb4640i has one internal fet which can be utilized for card power. this section describes the internal default configuration. the settings are stored in nvstore and provide the following features: 1. a card can be powered by an external fet or by an internal fet. 2. the power limit can be set to 100 ma or 200 ma (default) for the internal fet. each media uses two bytes to store its device power configuration. bit 3 selects between internal or external card power fet options. for internal fet card power control, bits 0 through 2 are used to set the power limit. the device power configurat ion bits are ignored unless the enable device power configuration bit is set. see section 7.3.3.19, "9ch-9fh: attribute byte descriptions," on page 35 . 1 att_hlb 3:0 always reads 0. 4 activity led true polarity 1 - activity led to low true. 0 (default) - activity led polarity to high true. 5 common media insert / media activity led 1 - the activity led will function as a common media inserted/media access led. 0 (default) - the activity led will remain in its idle state until media is accessed. 7:6 always reads 0. 2 att_lhb 0 attach on card insert / detach on card removal 1 - attach on insert is enabled. 0 (default) - attach on insert is disabled. 1 always reads 0. 2 enable device power configuration 1 - custom device power configuration stored in the nvstore is used. 0 (default) - default device power configuration is used. 7:3 always reads 0. 3 att_hb 6:0 always reads 0. 7 xd player mode byte byte name bit description downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 37 revision 2.1 (06-29-09) datasheet 7.3.4.1 a0h-a1h: memory stick device power 7.3.4.2 a2h-a3h: not applicable 7.3.4.3 a4h-a5h: smart media device power 7.3.4.4 a6h-a7h: secure digital/multimediacard device power fet type bits bit type description 0 fet lo byte ms_pwr_lb 3:0 low nibble 0000b disabled 1 7:4 high nibble 2 fet hi byte ms_pwr_hb 3:0 low nibble 0000b disabled 0001b external fet enabled 1000b internal fet with 100 ma power limit 1010b internal fet with 200 ma power limit 3 7:4 high nibble 0000b disabled byte name description 1:0 not applicable not applic able to usb2640/usb2641. fet type bits bit type description 0 fet lo byte sm_pwr_lb 3:0 low nibble 0000b disabled 1 7:4 high nibble 2 fet hi byte sm_pwr_hb 3:0 low nibble 0000b disabled 0001b external fet enabled 1000b internal fet with 100 ma power limit 1010b internal fet with 200 ma power limit 3 7:4 high nibble 0000b disabled fet type bits bit type description 0 fet lo byte sd_pwr_lb 3:0 low nibble 0000b disabled 1 7:4 high nibble 2 fet hi byte sd_pwr_hb 3:0 low nibble 0000b disabled 0001b external fet enabled 1000b internal fet with 100 ma power limit 1010b internal fet with 200 ma power limit 3 7:4 high nibble 0000b disabled downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 38 smsc usb2640/usb2641 datasheet 7.3.4.5 a8h: led blink interval (1 byte) 7.3.4.6 a9h: led blink duration (1 byte) 7.3.4.7 aah-b0h: device 0 identifier string 7.3.4.8 b1h-c5h: not applicable 7.3.4.9 c6h-cdh: i nquiry vendor string 7.3.4.10 ceh-d2h: i nquiry product string byte name description 0 led_blk_int the blink rate is programmable in 50 ms intervals. bit 7 indicates an idle state: 0 - off 1 - on bits 0-6 are used to determine the blink interval up to a max of 128 x 50 ms. byte name description 1 led_blk_dur led blink after access. this byte is used to designate the number of seconds that the gpio 1 led will cont inue to blink after a drive access. setting this byte to "05" will cause the gpio 1 led to blink for 5 seconds after a drive access. byte name string description 6:0 dev0_id_str combo ms, sm, and sd/mmc are mapped to device 0 identifier string because usb2640/usb2641 only supports one lun. when applicable, the "sm" value will be overridden with xd once an xd-picture card has been identified. byte name description 20:0 not applicable not applicable to usb2640/usb2641. byte name string description 7:0 inq_ven_str generic if bit 4 of the 1s t attribute byte is set, the device will use these strings in response to a usb inquiry command, instead of the usb descriptor manufacturer and product id strings. byte name uint description 4:0 inq_prd_str 2640 if bit 4 of the 1st attribute byte is set, the device will use these strings in response to a usb inquiry command, instead of the usb descriptor manufacturer and product id strings. downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 39 revision 2.1 (06-29-09) datasheet 7.3.4.11 d3h: dynamic number of luns 7.3.4.12 d4h-d7h: device to lun mapping 7.3.4.13 d8h-ddh: reserved bit byte name uchar description 7:0 dyn_num_lun ffh these bytes are us ed to specify the number of luns the device exposes to the host. these bytes are also used for icon sharing by assigning more than one lun to a single icon. this is used in applications where the device utilizes a combo socket and the oem wishes to have only a single icon displayed for one or more interfaces. usb2640/usb2641 supports one lun. ms, sm, and sd/mmc are mapped to that lun. if this field is set to "ff", the program assumes that you are using the default value of "04" and will display icons for xd, ms, and sd/mmc. if this field is any other value besides "ff", you must specify the lun# assignments in the boxes starting with lun 00 and going to (# of icons to display -1). these bytes are reserved for internal use only. byte name uchars description 3:0 dev_lun_map ffh, ffh, ffh, ffh these bytes are used to specify the number of luns the device exposes to the host. these bytes are also used for icon sharing by assigning more than one lun to a single icon. this is used in applications where the device utilizes a combo socket and the oem wishes to have only a single icon displayed for one or more interfaces. usb2640/usb2641 supports one lun. ms, sm, and sd/mmc are mapped to that lun. if this field is set to "f f", the program assumes that you are using the default value of "04" and will display icons for xd, ms, and sd/mmc. if this field is any other value besides "ff", you must specify the lun# assignments in the boxes starting with lun 00 and going to (# of icons to display -1). these bytes are reserved for internal use only. byte byte name description 5:0 reserved for internal use only. downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 40 smsc usb2640/usb2641 datasheet 7.3.5 hub controller configurations 7.3.5.1 deh: vendor id (lsb) 7.3.5.2 dfh: vendor id (msb) 7.3.5.3 e0h: product id (lsb) 7.3.5.4 e1h: product id (msb) 7.3.5.5 e2h: device id (lsb) 7.3.5.6 e3h: device id (msb) bit byte name description 7:0 vid_lsb least significant byte of the vendor id. this is a 16-bit value that uniquely identifies the vendor of the user device (assigned by usb implementers forum). bit byte name description 7:0 vid_msb most significant byte of the vendor id. this is a 16-bit value that uniquely identifies the vendor of the user device (assigned by usb implementers forum). bit name description 7:0 pid_lsb least significant byte of the product id. this is a 16-bit value that the vendor can assign that uniquely identifies this particular product. bit name description 7:0 pid_msb most significant byte of the product id. this is a 16-bit value that the vendor can assign that uniquely identifies this particular product. bit name description 7:0 did_lsb least significant byte of the device id. this is a 16-bit device release number in bcd (binary coded decimal) format. bit name description 7:0 did_msb most significant by te of the device id. this is a 16-bit device release number in binary coded decimal (bcd) format. downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 41 revision 2.1 (06-29-09) datasheet 7.3.5.7 e4h: configuration da ta byte 1 (cfg_dat_byt1) bit name description 7 self_bus_pwr self- or bus-power: selects between self- and bus-powered operation. the hub is either self-powered (dra ws less than 2 ma of upstream bus power) or bus-powered (limited to a 100 ma maximum of upstream power prior to being configured by the host controller). when configured as a bus-powered devic e, the smsc hub consumes less than 100 ma of current prior to being configured. after configuration, the bus- powered smsc hub (along with all associated hub circuitry, any embedded devices if part of a compound device, and 100 ma per externally available downstream port) must consume no more than 500 ma of upstream vbus current. the current consumption is system dependent, and the oem must ensure that the usb 2.0 spec ification is not violated. when configured as a self-powered device, <1 ma of upstream vbus current is consumed and all ports are av ailable, with each port being capable of sourcing 500 ma of current. 0 = bus-powered operation 1 = self-powered operation 6 reserved always reads 0. 5 hs_disable hi-speed disable: disables the capabi lity to attach as either a hi-/full-speed device, and forces attachment as full -speed only (i.e. no hi-speed support). 0 = hi-/full-speed 1 = full-speed-only (hi-speed disabled!) 4 reserved always reads 0. 3 eop_disable eop disable: disables eop gener ation of eof1 when in full-speed mode. during fs operation only, this permits the hub to send eop if no downstream traffic is detected at eof1 . see section 11.3.1 of the usb 2.0 specification for additional details. no te: generation of an eop at the eof1 point may prevent a host controller (o perating in fs mode) from placing the usb bus in suspend. 0 = an eop is generated at the eof1 point if no traffic is detected. 1 = eop generation at eof1 is disabled (note: this is normal usb operation). note: this is a rarely used feature in the pc environment, existing drivers may not have been thoroughly debugged with this feature enabled. it is included because it is a perm itted feature in chapter 11 of the usb 2.0 specification. 2:1 current_sns over-current sense: selects cu rrent sensing on a port-by-port basis, all ports ganged, or none (only for bus-powered hubs). the ability to support current sensing on a port or ganged basis is dependent upon the hardware implementation. 00 = ganged sensing (all ports together) 01 = individual port-by-port 1x = over-current sensing not supported (must only be used with bus- powered configurations!) 0 port_pwr port power switchi ng: enables power switching on all ports simultaneously (ganged), or port power is individually switched on and off on a port- by-port basis (individual). the ability to support power enabling on a port or ganged basis is dependent upon th e hardware implementation. 0 = ganged switching (all ports together) 1 = individual port-by-port switching downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 42 smsc usb2640/usb2641 datasheet 7.3.5.8 e5h: configuration da ta byte 2 (cfg_dat_byt2) 7.3.5.9 e6h: configuration da ta byte 3 (cfg_dat_byt3) bit name description 7:6 reserved always reads 0. 5:4 oc_timer overcurrent timer: over-current timer delay. 00 = 50 ns 01 = 100 ns 10 = 200 ns 11 = 400 ns 3 compound compound device: allows oem to indicate that the hub is part of a compound (see the usb 2.0 specific ation for definition) device. the applicable port(s) must also be defined as having a "non-removable device". when configured via strapping options, declaring a port as non-removable automatically causes the hub controller to report that it is part of a compound device. 0 = no 1 = yes, the hub is part of a compound device 2:0 always reads 0. always reads 0. bit name description 7:4 reserved always reads 0. 3 prtmap_en port mapping enable: selects the method used by the hub to assign port numbers and disable ports. 0 = standard mode. strap options or the following registers are used to define which ports are enabled, and th e ports are mapped as port n on the hub is reported as port n to the host, unless one of the ports is disabled, then the higher numbered ports are rema pped in order to report contiguous port numbers to the host. register 300ah: port disable for self -powered operatio n (reset = 0x00). register 300bh: port disable for bu s-powered operation (reset = 0x00). 1 = port map mode. the mode enables remapping via the registers defined below. register 30fbh: port map 12 (reset = 0x00) register 30fch: port map 3 (reset = 0x00) 2:0 reserved always reads 0. downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 43 revision 2.1 (06-29-09) datasheet 7.3.5.10 e7h: non- removable device 7.3.5.11 e8h: port disable for self-powered operation bit byte name description 7:0 nr_device indicates which port(s) include non-removable devices. 0 = port is removable 1 = port is non-removable informs the host if one of the active ports has a permanent device that is undetachable from the hub. (note: the device must provide its own descriptor data.) when using the internal default option, the non_rem[1:0] pins will designate the appropriate ports as being non-removable. bit 7= reserved bit 6= reserved bit 5= reserved bit 4= reserved bit 3= controls physical port 3 bit 2= controls physical port 2 bit 1= controls physical port 1 bit 0= reserved, always = 0 note: bit 1 must be set to a 1 by the firmware for proper identification of the card reader as a non-removable device. bit byte name description 7:0 port_dis_sp disables 1 or more ports. 0 = port is available 1 = port is disabled during self-powered operation th is register selects the ports which will be permanently disabled. the ports are unavailable to be enabled or enumerated by a host controller. the ports can be disabled in any order since the internal logic will automatic ally report the correct number of enabled ports to the usb host and will reorder the active ports in order to ensure proper function. bit 7= reserved bit 6= reserved bit 5= reserved bit 4= reserved bit 3= controls physical port 3 bit 2= controls physical port 2 bit 1= controls physical port 1 bit 0= reserved, always = 0 downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 44 smsc usb2640/usb2641 datasheet 7.3.5.12 e9h: port disable for bus-powered operation 7.3.5.13 eah: max power for self-powered operation 7.3.5.14 ebh: max power for bus-powered operation bit byte name description 7:0 port_dis_bp disables 1 or more ports. 0 = port is available 1 = port is disabled during self-powered operation , this register selects the ports which will be permanently disabled. the ports are unavailable to be enabled or enumerated by a host controller. the ports can be disabled in any order, the internal logic will automatically repor t the correct number of enabled ports to the usb host and will reorder the active ports in order to ensure proper function. when using the internal default option, the prt_dis[1:0] pins will disable the appropriate ports. bit 7= reserved bit 6= reserved bit 5= reserved bit 4= reserved bit 3= controls physical port 3 bit 2= controls physical port 2 bit 1= controls physical port 1 bit 0 is reserved, always = 0 bit byte name description 7:0 max_pwr_sp max power self_powered: value in 2 ma increments t hat the hub consumes from an upstream port (vbus) when operating as a self-powered hub. this value includes the hub silicon along with the combined power consumption (from vbus) of all associated circuitry on the board. this value also includes the power consumption of a permanently attached peripheral if the hub is configured as a compound device, a nd the embedded peripheral reports 0 ma in its descriptors. note: the usb 2.0 specification does not permit this value to exceed 100 ma. bit byte name description 7:0 max_pwr_bp max power bus_powered: value in 2 ma increments t hat the hub consumes from an upstream port (vbus) when op erating as a bus-powered hub. this value includes the hub silicon along with the combined power consumption (from vbus) of all associated circuitry on the board. this value also includes the power consumption of a permanently attached peripheral if the hub is configured as a compound device, a nd the embedded peripheral reports 0 ma in its descriptors. downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 45 revision 2.1 (06-29-09) datasheet 7.3.5.15 ech: hub controller max current for self-powered operation 7.3.5.16 edh: hub controller max current for bus-powered operation 7.3.5.17 eeh: power-on time 7.3.5.18 efh: boost_up bit byte name description 7:0 hc_max_c_sp hub controller max current self-powered: value in 2 ma increments that the hub consumes from an upstream port (vbus) when operating as a self- powered hub. this value includes the hub silicon along with the combined power consumption (from vbus) of all associated circuitry on the board. this value does not include the power consumption of a permanently attached peripheral if the hub is configured as a compound device. note: the usb 2.0 specification does not permit this value to exceed 100 ma. a value of 50 (decimal) indicates 100 ma, which is the default value. bit byte name description 7:0 hc_max_c_bp hub controller max current bus-powered: value in 2 ma increments that the hub consumes from an upstream po rt (vbus) when operating as a bus- powered hub. this value will include the hub silicon along with the combined power consumption (from vbus) of all associated circuitry on the board. this value will not include the pow er consumption of a permanently attached peripheral if the hub is configured as a compound device. a value of 50 (decimal) would indicate 100 ma, which is the default value. bit byte name description 7:0 pwr_on_time power-on time: the length of time that it takes (in 2 ms intervals) from the time the host initiated power-on sequence begins on a port until power is adequate on that port. system software uses this value to determine how long to wait before accessing a powered-on port. bit name description 7:2 reserved reserved 1:0 boost_iout usb electrical signaling drive strength boost bit for the upstream port a. 00 = normal electrical drive strength = no boost 01 = elevated electrical drive st rength = low (approximately 4% boost) 10 = elevated electrical drive streng th = medium (approximately 8% boost) 11 = elevated electrical drive st rength = high (approximately 12% boost) note: boost could result in non- usb compliant parameters. oem should use a 00 value unless s pecific implementation issues require additional signal boosting to correct for degraded usb signalling levels. downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 46 smsc usb2640/usb2641 datasheet 7.3.5.19 f0h: boost_3:0 7.3.5.20 f1h: port swap bit name description 7:6 reserved always reads 0. 5:4 boost_iout_3 upstream usb electrical signalin g drive strength boost bit for downstream port 3. 00 = normal electrical drive strength = no boost 01 = elevated electrical drive st rength = low (approximately 4% boost) 10 = elevated electrical drive streng th = medium (approximately 8% boost) 11 = elevated electrical drive st rength = high (approximately 12% boost) 3:2 boost_iout_2 upstream usb electrical signalin g drive strength boost bit for downstream port 2. 00 = normal electrical drive strength = no boost 01 = elevated electrical drive st rength = low (approximately 4% boost) 10 = elevated electrical drive streng th = medium (approximately 8% boost) 11 = elevated electrical drive st rength = high (approximately 12% boost) note: boost could result in non- usb compliant parameters. oem should use a 00 value unless s pecific implementation issues require additional signal boosting to correct for degraded usb signalling levels. 1:0 reserved always reads 0. bit byte name description 7:0 prt_swp port swap: swaps the upstream and downstream usb dp and dm pins for ease of board routing to devices and connectors. 0 = usb d+ functionality is associated with the dp pin and d- functionality is associated with the dm pin. 1 = usb d+ functionality is associated with the dm pin and d- functionality is associated with the dp pin. bit 7= reserved bit 6= reserved bit 5= reserved bit 4= reserved bit 3= controls physical port 3 bit 2= controls physical port 2 bit 1= reserved bit 0= controls physical port 0 downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 47 revision 2.1 (06-29-09) datasheet 7.3.5.21 f2h: port map 12 bit byte name description 7:0 prtm12 port map register for ports 1 & 2. when a hub is enumerated by a usb host controller, the hub is only permitted to report how many ports it ha s; the hub is not permitted to select a numerical range or assignment. the host controller will number the downstream ports of the hub starting with the number '1', up to the number of ports that the h ub reported having. the host's port number is referred to as "logical port number" and the physical port on the hub is the physical port number". when remapping mode is enabled (see prtmap_en in register 08h: configuration data byte 3) the hub's downstream port numbers can be remapped to different logical port numbers (assigned by the host). note: oem must ensure that contiguous logical port numbers are used, starting from number 1 up to the maximum number of enabled ports; this ensures that the hub's ports are numbered in accordance with the way a host will communicate with the ports. table 7.4 port map register for ports 1 & 2 bit [7:4] 0000 physical port 2 is disabled 0001 physical port 2 is mapped to logical port 1 0010 physical port 2 is mapped to logical port 2 0011 physical port 2 is mapped to logical port 3 0100 to 1111 illegal; do not use bit [3:0] 0000 physical port 1 is disabled 0001 physical port 1 is mapped to logical port 1 0010 physical port 1 is mapped to logical port 2 0011 physical port 1 is mapped to logical port 3 0100 to 1111 illegal; do not use downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 48 smsc usb2640/usb2641 datasheet 7.3.5.22 f3h: port map 3 7.3.5.23 f4h-fbh: reserved bit byte name description 7:0 prtm3 port map register for port 3. when a hub is enumerated by a usb host controller, the hub is only permitted to report how many ports it ha s; the hub is not permitted to select a numerical range or assignment. the host controller will number the downstream ports of the hub starting with the number '1', up to the number of ports that the h ub reported having. the host's port number is referred to as "logical port number" and the physical port on the hub is the physical port number". when remapping mode is enabled (see prtmap_en in register 08h: configuration data byte 3) the hub's downstream port numbers can be remapped to different logical port numbers (assigned by the host). note: oem must ensure that contiguous logical port numbers are used, starting from number 1 up to the maximum number of enabled ports; this ensures that the hub's ports are numbered in accordance with the way a host will communicate with the ports. byte byte name description 7:0 reserved reserved. table 7.5 port map register for port 3 bit [7:4] 0000 reserved 0001 reserved 0010 reserved 0011 reserved 0100 to 1111 illegal; do not use bit [3:0] 0000 physical port 3 is disabled 0001 physical port 3 is mapped to logical port 1 0010 physical port 3 is mapped to logical port 2 0011 physical port 3 is mapped to logical port 3 0100 to 1111 illegal; do not use downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 49 revision 2.1 (06-29-09) datasheet 7.3.5.24 fch-ffh: non-volatile storage signature 7.3.6 i 2 c eeprom the i 2 c eeprom interface implements a subset of the i 2 c master specification (please refer to the philips semiconductor standard i 2 c-bus specification for details on i 2 c bus protocols). the devices i 2 c eeprom interface is designed to at tach to a single dedicated i 2 c eeprom, and it conforms to the standard-mode i 2 c specification (100 kbps transfer rate and 7-bit addressing) for protocol and electrical compatibility. note: extensions to the i 2 c specification are not supported. the device acts as the master and generates the serial clock scl, controls the bus access (determines which device acts as the transmitter and which device acts as the receiver), and generates the start and stop conditions. 7.3.6.1 implementation characteristics the device will only acce ss an eeprom using the s equential read protocol. 7.3.6.2 pull-up resistor the circuit board designer is required to place external pull-up resistors (10 k recommended) on the sda/smbdata & scl/smbclk/cfg_sel0 lines ( per smbus 1.0 specification, and eeprom manufacturer guidelines) to vdd33 in order to assure proper operation. 7.3.7 in-circuit eeprom programming the eeprom can be programmed vi a automatic testing test equipm ent (ate) by pulling nreset low which tri-states the devices eeprom interface and allows an external source to program the eeprom. 7.4 default configuration option: the smsc device can be configured via its internal default configuration. please see section 7.3.2, "eeprom data descriptor" for specific details on how to enabl e default configuration. please refer to table 7.1 for the internal default values that are loaded when this option is selected. 7.5 reset there are two different resets that the device expe riences. one is a hardware reset (either from the internal por reset circuit or via the nreset pin) and the second is a usb bus reset. 7.5.1 internal por hardware reset all reset timing parameters are guaranteed by design. byte byte name string description 3:0 nvstore_sig ata2 this signature is used to verify the validity of the data in the configuration area. the signature must be set to ata2 for usb2640/usb2641. downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 50 smsc usb2640/usb2641 datasheet 7.5.2 external hardware nreset a valid hardware reset is defined as as sertion of nreset for a minimum of 1 s after all power supplies are within operating range. while reset is asserted, the device (and its associated external circuitry) consumes less than 500 a of current from the upstream usb power source. assertion of nreset (externa l pin) causes the following: 1. all downstream ports are disabled, and prtc tl power to downstream devices is removed. 2. the phys are disabled, and the differential pairs will be in a high-impedance state. 3. all transactions immediately terminate; no states are saved. 4. all internal registers return to the default state (in most cases, 00h). 5. the external crystal oscillator is halted. 6. the pll is halted. 7.5.2.1 nreset for eeprom configuration figure 7.1 nreset timing for eeprom mode note: all power supplies must have reached the operating levels mandated in chapter 10, dc parameters , prior to (or coincident with) the assertion of nreset. table 7.6 nreset timing for eeprom mode name description min typ max units t1 nreset asserted. 1 sec t2 device recovery/stabilization. 500 sec t3 8051 programs device configuration 20 50 msec t4 usb attach (see note). 100 msec t5 host acknowledges attach and signals usb reset. 100 msec t6 usb idle. undefined msec t7 completion time for requests (with or without data stage). 5 msec t1 t2 t4 t5 t6 t7 nreset vss hardware reset asserted device recovery/ stabilization 8051 sets configuration registers attach usb upstream usb reset recovery idle start completion request response t3 downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 51 revision 2.1 (06-29-09) datasheet 7.5.3 usb bus reset in response to the upstream port signaling a re set to the device, the device does the following: note: the device does not propagate the upstream usb reset to downstream devices. 1. sets default address to 0. 2. sets configuration to: unconfigured. 3. negates prtctl[3:2] to all downstream ports. 4. clears all tt buffers. 5. moves device from suspended to active (if suspended). 6. complies with section 11.10 of the usb 2.0 specif ication for behavior after completion of the reset sequence. the host then configures the device and the devices downstream port devices in accordance with the usb 2.0 specification. downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 52 smsc usb2640/usb2641 datasheet chapter 8 pin reset states figure 8.1 pin reset states 8.1 pin reset states table 8.1 legend for pin reset states table symbol description y hardware enables function 0 output low 1 output high -- hardware disables function z hardware disables output driver (high impedance) pu hardware enables pull-up pd hardware enables pull-down hw hardware controls function, but state is protocol dependent (fw) firmware controls function through registers vdd hardware supplies power through pin, applicable only to card_pwr pin none hardware disables pad table 8.2 usb2640 pin reset states reset state pin pin name function output pu/ pd input 1 usbdn_dm2 usbdn_dm2 0 pd -- 2 usbdn_dp2 usbdn_dp2 0 pd -- voltage signal (v) time (t) reset reset hardware initialization firmware operational v dd33 v ss downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 53 revision 2.1 (06-29-09) datasheet 3 usbdn_dm3 usbdn_dm3 0 pd -- 4 usbdn_dp3 usbdn_dp3 0 pd -- 6p r t c t l 2 p r t c t l 0 - - - - 7p r t c t l 3 p r t c t l 0 - - - - 8 spi_ce_n spi_ce_n 1 -- -- 9 spi_clk / gpio4 / scl gpio 0 -- -- 10 spi_do / gpio5 / sda / spi_spd_sel gpio z pd y 11 spi_di spi_di z pd y 13 xd_d4 / gpio6 / sd_wp / ms_sclk gpio 0 -- -- 14 gpio15 / sd_ncd gpio z pu y 17 xd_d3 / sd_d1 / ms_d5 none z -- -- 18 xd_d2 / sd_d0 / ms_d4 none z -- -- 19 xd_d1 / sd_d7 / ms_d6 none z -- -- 20 xd_d0 / sd_d6 / ms_d7 none z -- -- 21 xd_nwp / sd_clk / ms_bs none z -- -- 22 xd_nwe none z -- -- 23 xd_ale / sd_d5 / ms_d1 none z -- -- 24 xd_cle / sd_cmd / ms_d0 none z -- -- 26 xd_nce none z -- -- 27 xd_nre none z -- -- 28 xd_nb/r none z -- -- 29 gpio14 / xd_ncd gpio z pu y 30 xd_d7 / sd_d4 / ms_d2 none z -- -- 31 gpio12 / ms_ins gpio z pu y 32 xd_d6 / sd_d3 / ms_d3 none z -- -- 33 xd_d5 / sd_d2 none z -- -- 35 gpio10(card_pwr) gpio z -- -- table 8.2 usb2640 pin reset states (continued) reset state pin pin name function output pu/ pd input downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 54 smsc usb2640/usb2641 datasheet 36 gpio2 / rxd gpio 0 -- -- 37 gpio1 / led / txd gpio1 0 -- -- 38 nreset nreset z -- y 39 vbus_det vbus_det z -- y 40 test test z -- y 42 usb+ usb+ z -- -- 43 usb- usb- z -- -- 44 xtal2 45 xtal1 (clkin) 47 rbias table 8.3 usb2641 pin reset states reset state pin pin name function output pu/ pd input 1 usbdn_dm2 usbdn_dm2 0 pd -- 2 usbdn_dp2 usbdn_dp2 0 pd -- 3 usbdn_dm3 usbdn_dm3 0 pd -- 4 usbdn_dp3 usbdn_dp3 0 pd -- 6p r t c t l 2 p r t c t l 0 - - - - 7p r t c t l 3 p r t c t l 0 - - - - 8 spi_ce_n spi_ce_n 1 -- -- 9 spi_clk / gpio4 / scl gpio 0 -- -- 10 spi_do / gpio5 / sda / spi_spd_sel gpio z pd y 11 spi_di spi_di z pd y 13 gpio6 / sd_wp / ms_sclk gpio 0 -- -- 14 gpio15 / sd_ncd gpio z pu y 17 sd_d1 / ms_d5 none z -- -- table 8.2 usb2640 pin reset states (continued) reset state pin pin name function output pu/ pd input downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 55 revision 2.1 (06-29-09) datasheet 18 sd_d0 / ms_d4 none z -- -- 19 sd_d7 / ms_d6 none z -- -- 20 sd_d6 / ms_d7 none z -- -- 21 sd_clk / ms_bs none z -- -- 23 sd_d5 / ms_d1 none z -- -- 24 sd_cmd / ms_d0 none z -- -- 29 gpio14 gpio z pu y 30 sd_d4 / ms_d2 none z -- -- 31 gpio12 / ms_ins gpio z pu y 32 sd_d3 / ms_d3 none z -- -- 33 sd_d2 none z -- -- 35 gpio10(card_pwr) gpio z -- -- 36 gpio2 / rxd gpio 0 -- -- 37 gpio1 / led / txd gpio1 0 -- -- 38 nreset nreset z -- y 39 vbus_det vbus_det z -- y 40 test test z -- y 42 usb+ usb+ z -- -- 43 usb- usb- z -- -- 44 xtal2 45 xtal1 (clkin) 47 rbias table 8.3 usb2641 pin reset states (continued) reset state pin pin name function output pu/ pd input downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 56 smsc usb2640/usb2641 datasheet chapter 9 ac specifications 9.1 oscillator/crystal parallel resonant, fundamental mode, 24 mhz 350 ppm. figure 9.1 typical crystal circuit table 9.1 crystal circuit legend figure 9.2 capacitance formulas note 9.1 c 0 is usually included (subtracted by the crys tal manufacturer) in the specification for c l and should be set to 0 for use in the calculation of the capacitance formulas in figure 9.2, "capacitance formulas". however, the oem pcb itself may present a parasitic capacitance between xtal1 and xtal2. for an accurate calculation of c 1 and c 2, take the parasitic capacitance between traces xtal1 and xtal2 into account. note 9.2 each of these capacitance values is typically approximately 18 pf. symbol description in accordance with c 0 crystal shunt capacitance crystal manufacturers specification (see note 9.1 ) c l crystal load capacitance c b total board or trace capacitance oem board design c s stray capacitance smsc ic and oem board design c xtal xtal pin input capacitance smsc ic c 1 load capacitors installed on oem board calculated values based on figure 9.2, "capacitance formulas" (see note 9.2 ) c 2 xtal1 (c s1 = c b1 + c xtal1 ) xtal2 (c s2 = c b2 + c xtal2 ) c 1 c 2 c l 1 m crystal c 0 c 1 = 2 x (c l C c 0 ) C c s1 c 2 = 2 x (c l C c 0 ) C c s2 downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 57 revision 2.1 (06-29-09) datasheet 9.2 ceramic resonator 24 mhz 350 ppm figure 9.3 ceramic resonator usage with smsc ic 9.3 external clock 50% duty cycle 10%, 24 mhz 350 ppm, jitter < 1 00 ps rms. the external clock is recomm ended to conform to the signaling level designated in the jesd76-2 specification on 1.8 v cmos logic. xt al2 should be treated as a no connect. 9.3.1 i 2 c eeprom frequency is fixed at 58.6 khz 20% 9.3.2 usb 2.0 the smsc device conforms to all voltage, power, and timing characteristics and specifications as set forth in the usb 2.0 specification. please refer to the usb 2.0 specification for more information. xtal1 xtal2 1 m 24 mhz ceramic resonator downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 58 smsc usb2640/usb2641 datasheet chapter 10 dc parameters 10.1 maximum guaranteed ratings note 10.1 stresses above the specified parameters may cause permanent damage to the device. this is a stress rating only. functional operat ion of the device at any condition above those indicated in the operation sections of this specification is not implied. note 10.2 when powering this device from labora tory or system power supplies the absolute maximum ratings must not be exceeded or device failure can result. some power supplies exhibit voltage spikes on their outputs when th e ac power is switched on or off. in addition, voltage transients on the ac power line may appear on the dc output. when this possibility exists, a clamp circuit should be used. figure 10.1 supply rise time models parameter symbol min max units comments storage temperature t stor -55 150 c lead temperature c please refer to jedec specification j-std-020d. 3.3 v supply voltage v dd33 -0.5 4.0 v voltage on usb+ and usb- pins -0.5 (3.3 v supply voltage + 2) 6v voltage on gpio10 -0.5 v dd33 + 0.3 v when internal power fet operation of these pins are enabled, these pins may be simultaneously shorted to ground or any voltage up to 3.63 v indefinitely, without damage to the device as long as v dd33 is less than 3.63 v and t a is less than 70 o c. voltage on any signal pin -0.5 v dd33 + 0.3 v voltage on xtal1 -0.5 3.6 v voltage on xtal2 -0.5 2.0 v t 10% 10% 90% voltage t rt t 90% time 100% 3.3 v vss vdd33 downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 59 revision 2.1 (06-29-09) datasheet 10.2 operating conditions 10.3 dc electri cal characteristics parameter symbol min max units comments operating temperature t a 0 70 c ambient temperature in still air. 3.3 v supply voltage v dd33 3.0 3.6 v a 3.3 v regulator with an output tolerance of 1% must be used if the output of the internal power fets must support a 5% tolerance. 3.3 v supply rise time t rt 04 0 0 s( figure 10.1 ) voltage on usb+ and usb- pins -0.3 5.5 v if any 3.3 v supply voltage drops below 3.0 v, then the max becomes: (3.3 v supply voltage) + 0.5 5.5 voltage on any signal pin -0.3 v dd33 v voltage on xtal1 -0.3 2.0 v voltage on xtal2 -0.3 2.0 v parameter symbol min typ max units comments i, ipu, ipd type input buffer low input level high input level pull down pull up v ili v ihi pdpu 2.0 7258 0.8 v v a a ttl levels is type input buffer low input level high input level hysteresis v ili v ihi v hysi 2.0 420 0.8 v v mv ttl levels iclk input buffer low input level high input level input leakage v ilck v ihck i il 1.4 -10 0.5 +10 vv a v in = 0 to v dd33 downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 60 smsc usb2640/usb2641 datasheet input leakage (all i and is buffers) low input leakage high input leakage i il i ih -10-10 +10 +10 a a v in = 0 v in = v dd33 o12 type buffer low output level high output level output leakage v ol v oh i ol v dd33 - 0.4 -10 0.4 +10 vv a i ol = 12 ma @ v dd33 = 3.3 v i oh = -12 ma @ v dd33 = 3.3 v v in = 0 to v dd33 ( note 10.3 ) i/o12, i/o12pu & i/o12pd type buffer low output level high output level output leakage pull down pull up v ol v oh i ol pdpu v dd33 - 0.4 -10 7258 0.4 +10 vv a a a i ol = 12 ma @ v dd33 = 3.3 v i oh = -12 ma @ v dd33 = 3.3 v v in = 0 to v dd33 ( note 10.3 ) io-u ( note 10.4 ) i-r ( note 10.5 ) integrated power fet set to 100 ma output current ( note 10.6 ) short circuit current limit on resistance ( note 10.6 ) output voltage rise time i out i sc r dson t dson 100 140 2.1 800 mama s vdrop fet = 0.22 v vout fet = 0 v i fet = 70 ma c load = 10 f parameter symbol min typ max units comments downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 61 revision 2.1 (06-29-09) datasheet note 10.3 output leakage is measured with the current pins in high impedance. note 10.4 see the usb 2.0 specification, chapter 7, for usb dc electrical characteristics note 10.5 rbias is a 3.3 v tolerant analog pin. note 10.6 output current range is controlled by program software. the software disables the fet during short circuit condition. 10.4 capacitance t a = 25c ; fc = 1 mhz ; v dd33 = 3.3 v integrated power fet set to 200 ma output current ( note 10.6 ) short circuit current limit on resistance ( note 10.6 ) output voltage rise time i out i sc r dson t dson 200 181 2.1 800 mama s vdrop fet = 0.46 v vout fet = 0 v i fet = 70 ma c load = 10 f supply current unconfigured hi-speed host full speed host i ccinths i ccinitfs 6560 7065 mama supply current active i cc 280 300 ma supply current suspend i csby 420 550 a supply current reset i rst 205 325 a table 10.1 pin capacitance parameter symbol limits unit test condition min typ max clock input capacitance c xtal 2 pf all pins (except usb pins and pins under test) are tied to ac ground. input capacitance c in 10 pf output capacitance c out 20 pf parameter symbol min typ max units comments downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo revision 2.1 (06-29-09) 62 smsc usb2640/usb2641 datasheet chapter 11 gpio usage table 11.1 usb2640/usb2641 gpio usage name active level symbol description gpio1 h txd / led serial port transmit line / led indicator gpio2 h rxd serial port receive line gpio4 h sck serial eeprom clock gpio5 h sda serial eeprom data gpio6 l sd_wp secure digital card write protect detect gpio10 l crd_pwr_ctrl card power control gpio12 l ms_ncd memory stick card detect gpio14 l xd_ncd xd-picture card detect gpio15 l sd_ncd secure digital card detect downloaded from: http:///
ultra fast usb 2.0 multi-format flash media controller/usb hub combo smsc usb2640/usb2641 63 revision 2.1 (06-29-09) datasheet chapter 12 package outline figure 12.1 usb2640/usb2641 48-pin qfn downloaded from: http:///


▲Up To Search▲   

 
Price & Availability of USB2641I-HZH-02-CAG

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X